package com.zcsy.manage.owner.common;

import java.io.Serializable;
import java.util.Map;

/**
 * 参数加密类
 * 
 * @Title:EncryptionUtil
 * @Package： com.zcsy.manage.web.common
 * @Description:TODO
 * @author wangj
 * @date 2016年5月26日下午2:15:13
 * @version 1.0
 * @see JDK1.7.0_67
 * @Copyright: 2016 武汉恒数利通技术有限公司 All rights reserved.
 */
public class EncryptionUtil implements Serializable {

	private EncryptionUtil() {

	}

	private static class EncryptionUtilHoder {
		private static EncryptionUtil instance = new EncryptionUtil();
	}

	public static EncryptionUtil getInstance() {
		return EncryptionUtilHoder.instance;
	}

	public static Map<String, Object> encrypParams(Map<String, Object> params) {

		return params;
	}

	public static Map<String, Object> decrypParams(Map<String, Object> params) {
		return params;
	}

	// 阻止生成新的实例
	public Object readResolve() {
		return EncryptionUtilHoder.instance;
	}
}
